﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.ComponentModel.DataAnnotations;
namespace Jemer.Domain.Entities
{
    //产品标签映射表
    public class ProductTagMapping
    {

        /// <summary>
        /// 主键标识
        /// </summary>
        [Key]
        [Required]
        [MaxLength(4)]
        public int PTMapID { get; set; }

        /// <summary>
        /// 产品编号
        /// </summary>

        [Required]
        [MaxLength(4)]
        public int ProductID { get; set; }

        /// <summary>
        /// 标签编号
        /// </summary>

        [Required]
        [MaxLength(4)]
        public int PTagID { get; set; }

        /// <summary>
        /// 备注
        /// </summary>


        [MaxLength(200)]
        public string Remark { get; set; }


    }
}

